import request from '@/utils/request'

//备份数据库
export function backup(data) {
  return request({
    url: '/sys/bakDb',
    method: 'post',
    data: data
  })
}

//获取站点信息
export function getWebsite(data) {
  return request({
    url: '/sys/getWebsite',
    method: 'get',
    data: data
  })
}

//修改站点信息
export function updateWebsite(data) {
    console.log(data)
  return request({
    url: '/sys/updateWebsite',
    method: 'post',
    params: data
  })
}